﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<EHRForce.Models.Patient>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Patient Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2><strong>Chart Number:</strong><%= Html.Encode(Model.ChartNumber) %></h2>
    <p>
        <strong>PatientUID:</strong>
        <%= Html.Encode(Model.PatientUID) %>
    </p>
    <p>
        <strong>Name:</strong>
        <%= Html.Encode(Model.LastName) %>,
        <%= Html.Encode(Model.FirstName) %>
    </p>
    <p>
        <strong>MaritalStatus:</strong>
        <%= Html.Encode(Model.MaritalStatus) %>
    </p>
    <p>
        <strong>DateOfBirth:</strong>
        <%= Html.Encode(Model.DateOfBirth.ToString()) %>
    </p>
    <p>
        <strong>Gender:</strong>
        <%= Html.Encode(Model.Gender) %>
    </p>
    <p>
        <strong>SSN:</strong>
        <%= Html.Encode(Model.SSN) %>
    </p>
    
    
    <p>

        <%= Html.ActionLink("Edit Patient", "Edit", new { id=Model.PatientUID }) %> |
        <%= Html.ActionLink("Delete Patient", "Delete", new { id=Model.PatientUID}) %> |
        <%= Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

